Skip to content

Conversation

@bigcat88
Copy link
Contributor

@bigcat88 bigcat88 commented Jan 20, 2026

PR adds a new upload_image_to_comfyapi() function that simplifies the common single-image upload pattern in API nodes.

Before:

url = (await upload_images_to_comfyapi(cls, image, max_images=1))[0]

After:

url = await upload_image_to_comfyapi(cls, image)

This mirrors the existing upload_video_to_comfyapi and upload_audio_to_comfyapi helpers which also return a single URL string.

API Node PR Checklist

Scope

  • Is API Node Change

Pricing & Billing

  • Need pricing update
  • No pricing update

If Need pricing update:

  • Metronome rate cards updated
  • Auto‑billing tests updated and passing

QA

  • QA done
  • QA not required

Comms

  • Informed Kosinkadink

@bigcat88 bigcat88 force-pushed the upload-single-image-helper branch from 4be9bb1 to 36747f2 Compare January 20, 2026 09:16
@bigcat88 bigcat88 added Core Core team dependency and removed Core Core team dependency labels Jan 20, 2026
@bigcat88
Copy link
Contributor Author

bigcat88 commented Jan 21, 2026

will just include this in the next big PR

@bigcat88 bigcat88 closed this Jan 21, 2026
@bigcat88 bigcat88 deleted the upload-single-image-helper branch January 21, 2026 07:34
Sign up for free to join this conversation on GitHub. Already have an account? Sign in to comment

Labels

None yet

Projects

None yet

Development

Successfully merging this pull request may close these issues.

2 participants